<%@ page import="java.sql.ResultSet"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" 
pageEncoding="UTF-8"%>
<%@ page import="java.util.*" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC"-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<center>
<s:form action="LaboratoryAction" method="post" theme="simple">
实验室平台项目：<s:textfield name="LabPlaPro"/>
类别：<s:select  name="LabType" list="#{'0':'==请选择==','1':'计算机 '}"/>
归属单位：<s:select name="OwneshipUnit"  list="#{'0':'==请选择==','1':'数信学院'}"/> 
<s:submit value="查询"/>
</s:form>
<br>
<s:form action="LabInsertOrDelete" method="post" theme="simple">
<table border=1px;>
<tr><td>实验室编号</td><td>实验室名称</td><td>实验室类别</td><td>实验室平台项目</td><td>实验室归属单位</td></tr>
<s:iterator value="laboratorys" id="lab" >
<tr>
<td ><s:property value="#lab.LabId"/></td>
<td><s:property value="#lab.LabName"/></td>
<td><s:property value="#lab.LabType"/></td>
<td><s:property value="#lab.LabPlaPro"/></td>
<td><s:property value="#lab.OwneshipUnit"/></td>
</tr>
</s:iterator>
</table>
<br>
<table >
<tr>
<td><s:submit name="insert" value="增加房间"/></td> 
<td><s:submit name="delete" value="删除"/></td>
</tr>
</table>
</s:form>
</center>
</body>
</html>